package avicit.bdp.dds.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * sql输入查询
 *
 * @author xugb
 * @date 2021/12/7 10:26
 */
@ApiModel(value = "SqlInputDto", description = "sql输入查询实体类")
public class SqlInputDto {
    /**
     * 数据源Id
     *
     */
    @ApiModelProperty(value = "数据源Id", name = "datasourceId")
    private String datasourceId;
    /**
     * 输入的sql脚本
     *
     */
    @ApiModelProperty(value = "输入的sql脚本", name = "sql")
    private String sql;

    public String getDatasourceId() {
        return datasourceId;
    }

    public void setDatasourceId(String datasourceId) {
        this.datasourceId = datasourceId;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }
}
